//
// Created by darcy on 4/27/21.
//

#ifndef CASH_ACCOUNT_H
#define CASH_ACCOUNT_H

#include <string>

class Account {
  public:
    Account(int ID, float Balance = 100);

    int id;
    std::string name = "\0";
    float balance;

    void deposit(float amount);

    bool withdraw(float amount);

    float getBalance() const;
};

#endif // CASH_ACCOUNT_H
